package com.cskaoyan.wordmemorize.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cskaoyan.wordmemorize.dao.entity.EmployeeDO;
import com.cskaoyan.wordmemorize.dao.entity.EmployeeRoleDO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<EmployeeDO> {

    EmployeeDO getEmployeeInfo(@Param("employeeId") Long employeeId);

    List<String> getPermissionAliases(@Param("employeeId") Long employeeId);

    List<Long> getRoleIds(@Param("employeeId") Long employeeId);

    List<String> getPerms(@Param("employeeId") Long employeeId);
}
